using Microsoft.UI.Xaml.Controls;
using Microsoft.Extensions.DependencyInjection;
using GoChat_for_Windows.ViewModels;

namespace GoChat_for_Windows.Views
{
    public sealed partial class RegisterPage : Page
    {
        public RegisterViewModel ViewModel { get; }

        public RegisterPage()
        {
            ViewModel = App.Current.Services.GetRequiredService<RegisterViewModel>();
            this.InitializeComponent();
            DataContext = ViewModel;
        }
    }
} 